package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.basic.export.RestStatus;
import com.kaili.basic.pojo.dto.BaseInStoreDetailAddDto;
import com.kaili.basic.pojo.dto.BaseReportLossQueryDto;
import com.kaili.basic.pojo.dto.BaseStoreStockQueryDto;
import com.kaili.basic.pojo.entity.BaseInStoreDetailEntity;
import com.kaili.basic.pojo.entity.BaseMoveStoreDetailEntity;
import com.kaili.basic.pojo.entity.BaseStoreDetailEntity;
import com.kaili.basic.pojo.entity.BaseStoreStockEntity;
import com.kaili.basic.pojo.vo.BaseReportLossDetailVO;
import com.kaili.basic.pojo.vo.BaseStoreStockVO;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface BaseStoreStockService extends IService<BaseStoreStockEntity> {

    //批量新增库存
    public void bathInsert(List<?> stocklList,Long supplierId);

    //移库存批量更新库存
    public Boolean updateStock(List<?> detailList);

    //查询可出库存数目
    Page<BaseStoreStockVO> queryCanOutStock(Page<BaseStoreStockVO> page, BaseStoreStockQueryDto queryDto);

    List<BaseStoreStockEntity> queryStockBySupplierId(Map<String, Object> map);

//    List<BaseStoreStockEntity> queryStockGroupByLocation(Map<String, Object> map);
}
